package com.threeti.jiayusms.infrastructure.legacy;

import java.util.List;

import com.threeti.jiayusms.domain.model.legacy.Order;
import com.threeti.jiayusms.framework.dao.GenericCustomKeyDao;
import com.threeti.jiayusms.framework.util.DynaSearchCriteria;
import com.threeti.jiayusms.framework.util.PagedListHandler;

public interface OrderDao extends GenericCustomKeyDao<String, Order> {
	PagedListHandler<Order> findAllOrdersByPage(int currentPageIndex, int startingIndex);

	List<Order> findOrderTemplatesByList(DynaSearchCriteria dynaSearchCriteria);
}
